package com.cq.hd.order.mapper;

import com.cq.hd.order.po.TbOrderPayRecordPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * <p>
 * 订单支付记录表 Mapper 接口
 * </p>
 *
 * @author mYunYu
 * @since 2024-03-21
 */
@Mapper
public interface TbOrderPayRecordMapper extends BaseMapper<TbOrderPayRecordPo> {

    Integer updateTradeState(@Param("id") Long id, @Param("orgTradeState") Integer orgTradeState,
                             @Param("tradeState") Integer tradeState, @Param("updateTime") LocalDateTime updateTime, @Param("payFailReason") String payFailReason);
}
